package dm.com.dmexamples;

import android.content.Context;
import android.util.AttributeSet;
import android.widget.ProgressBar;

/**
 * Created by Damon on 2017/9/20.
 */

public class EBTProgress extends ProgressBar {
    public EBTProgress(Context context) {
        super(context);
        setIndeterminateDrawable(getResources().getDrawable(R.drawable.progress_loading));
    }

    public EBTProgress(Context context, AttributeSet attrs) {
        super(context, attrs);
        setIndeterminateDrawable(getResources().getDrawable(R.drawable.progress_loading));
    }

    public EBTProgress(Context context, AttributeSet attrs, int defStyleAttr) {
        super(context, attrs, defStyleAttr);
        setIndeterminateDrawable(getResources().getDrawable(R.drawable.progress_loading));
    }
}
